import java.awt.GridLayout;

import javax.swing.JLabel;
import javax.swing.JPanel;


public class StatsPanel extends JPanel {
	// current money
	JLabel m_playerNumber;
	JLabel m_moneyAmount;
	JLabel m_numDealCards;
	JLabel m_numMailCards;
	JLabel m_loanAmount;
	// number of deal cards
	//  number of mail cards
	// loan amount
	private static StatsPanel ref;
	private StatsPanel(){
		setLayout(new GridLayout(1, 5, 20, 10));
		m_playerNumber = new JLabel("Player 1");
		m_moneyAmount = new JLabel("Cash: $5000");
		m_numDealCards = new JLabel("Deal Cards: 2");
		m_numMailCards = new JLabel("Mail Cards: 4");
		m_loanAmount = new JLabel("Loan Debt: $8000");
		add(m_playerNumber);
		add(m_moneyAmount);
		add(m_numDealCards);
		add(m_numMailCards);
		add(m_loanAmount);
		
	}
	public static StatsPanel getInstance(){
		if(ref == null){
			ref = new StatsPanel();
		}
		return ref;
	}

	
}
